Welcome![Sign In][Sign Up]
Location:
Search - windows internal

Search list

[Windows Developvisual c++mfc扩展编程实例

Description: 本书主要介绍了运用Visual C++ 5.0或6.0的高级编程技巧,内容涉及MFC程序设计的最新概念,全书提供了大量VC的编程实例,旨在帮助读者较为全面地掌握VC编程知识、技巧和方法。全书分为三个部分和附录。第一部分介绍Windows编程的基础知识,第二部分讲解用户界面编程技巧,最后一部分涉及Windows内部进程的一些实例。本书思路清晰,实用性强,是计算机应用人员及大专院校师生不可多得的参考书。 -the book introduces the use of Visual C 5.0 or 6.0, the advanced programming skills, MFC procedures covering the latest design concepts, the book provides a lot of VC programming examples to help readers a more comprehensive grasp VC programming knowledge, skills and methods. The book is divided into three parts and appendices. The first part gives Windows programming knowledge base, the second part on the user interface programming skills, the last part of the internal processes involved in the Windows examples. This book has clear ideas, practical, computer applications officers and tertiary students rare reference books.
Platform: | Size: 7228462 | Author: 秦哈 | Hits:

[Shell api用Shell扩展实现源代码统计程序

Description: 在 Windows 的资源管理器窗口中,我们见过 WinZIP,WinRAR 等软件能在文件或文件夹的默认快捷菜单中添加几个菜单项,它可以使用户无须进入软件内部而直接在视窗中进行压缩/解压操作,十分方便用户操作,这无疑是一个较好的应用模型,它就是我们所说的Shell扩展技术。此源代码将以一个普通的源代码统计程序为例来说明怎样实现Shell扩展技术。-the Windows Resource Manager window, we have seen Photoshop, WinRAR software or documents in the default folder quick to add extra menu individual, it can save users from having access to the internal software directly in Windows for compression / decompression operation, it is very convenient for users, which undoubtedly it is a good application model, it is what we call the Shell extensions. This source will be a general source statistical procedures as an example to illustrate how to achieve the Shell extensions.
Platform: | Size: 92554 | Author: 唐佳 | Hits:

[Other resourceWINC51编程

Description: 本书以Keil 公司最新版本的C51 编译器为核心,阐述了在Windows 环境下采用单片 机高级语言C51 进行应用系统程序设计的基本原理和方法,详细介绍了Keil C51 的 Windows 集成开发环境Vision 51 和软件仿真器dScope51 的强大功能和具体使用方法。在 Windows 集成开发环境pVision 51 中,可以完成从源程序编写、编译、连接定位到目标文件 的仿真调试等的全部工作。dScope 51 是一种基于Windows 的多窗口软件仿真器,它可以在 完全没有8051 单片机硬件的情况下模拟调试各种应用程序,即使对单片机内部特殊集成功 能的编程,也可以找到对应的模拟窗口。 本书对最新版本C51 编译器新增加的控制命令作了全面介绍;给出了最新C51 运行库 函数及其应用范例;对Keil C51 的各种应用工具,如BL51 连接定位器、A51 宏汇编器、 LIB51 库管理程序以及OH51 符号转换程序等都作了详细介绍;还介绍了单片机实时多任务 操作系统RTX51 及其子集RTX51 TINY 的具体功能与应用方法。 本书强调先进性和实用性。全书各章列举了大量程序实例,并附赠一张配套光盘。因此 本书既适合广大从事单片机应用系统开发研制的工程技术人员的阅读,也可以作为高等工科 院校相应专业大学生或研究生的教学用书。-Keil book to the latest version of the C51 compiler at the core, described in the Windows environment using high-level language C51 microcontroller applications procedures for the basic design principles and methods introduced in detail Keil C51 integrated development environment for Windows 51 and Vision software simulator dScope51 the power and the specific use. Windows integrated development environment pVision 51, from source to be completed to prepare, compile, link positioning of the target file Simulation of the entire work. DScope 51 is a Windows-based multi-windows software emulation, it can no 8051 under the hardware simulation debugging various applications, even for special internal microcontroller integrated functional programming, can find the corresponding emulation window.
Platform: | Size: 32982367 | Author: 高山流水 | Hits:

[.NET/ASPX亮剑Net-深入体验与实战精要

Description: 目录 第一篇 技术基础总结 第1章 .NET,你真的知道了吗 1.1 搞清自己是干什么的 1.2 .NET的几个特性 1.3 万丈高楼平地起:面试者必会 1.3.1 C#介绍 1.3.2 命名空间 1.3.3 C#语法格式要点 1.3.4 变量 1.3.5 类型推断 1.3.6 变量的作用域 1.3.7 常量 1.3.8 流程控制 1.3.9 字符串常见操作 1.3.10 几个常用的数学函数 1.4 .NET的面向对象之门 1.4.1 继承——“子承父业” 1.4.2 委托——“任务书” 1.4.3 事件——“年终分红” 1.4.4 反射——“解剖” 1.5 .NET开发几把小刀 1.5.1 using之多变身 1.5.2 @符号的妙用 1.5.3 预处理指令,有你更轻松 1.6 Visual Studio.NET 2008 实战 1.6.1 如何创建ASP.NET项目 1.6.2 如何创建Windows项目 1.6.3 Visual Studio.NET 2008操作与使用技巧 1.6.4 常见开发调试技巧 1.6.5 错误异常处理方法 本章常见技术面试题 常见面试技巧之面试前的准备 本章小结 第2章 细节决定成败 2.1 Equals()和运算符==的区别 2.2 const和readonly的区别 2.3 private、protected、public和internal的区别 2.4 sealed、new、virtual、abstract与override 2.5 abstract class与interface 2.6 公共变量与属性的区别 2.7 参数修饰符params、out和ref的区别 2.8 值类型和引用类型的区别 2.9 结构与类的区别 2.10 Dispose()和Close()、Finalize()的区别 2.11 string和StringBuilder有什么区别 2.12 Debug版本和Release版本的区别 本章常见技术面试题 常见面试技巧之细节决定成败 本章小结 第3章 ASP.NET开发大杂烩 3.1 页面生命周期 3.1.1 独立页面生命周期事件顺序 3.1.2 具有Master页的生命周期事件顺序 3.1.3 ASP.NET生命周期详解 3.2 页面状态管理 3.2.1 Cookie 3.2.2 HtmlInputHidden隐藏域 3.2.3 ViewState 3.2.4 查询字符串Request 3.2.5 Aplication对象 3.2.6 Session对象 3.2.7 示例项目:在线用户列表统计 3.3 服务器和客户端数据交互 3.3.1 页面数据绑定全攻略 3.3.2 Bind和Eval的区别 3.4 ASP.NET编程中的技巧 3.4.1 页面之间传值的7种方法 3.4.2 get与post方法的区别 3.4.3 ASP.NET服务器控件和HTML控件的区别 3.4.4 Server.Transfer和Response.Redirect的区别 3.4.5 刷新页面的方法汇总 3.4.6 页面事件控制 3.4.7 在URL中传递中文的解决方案 3.4.8 增强用户体验的一些技巧 3.4.9 XHTML与HTML的区别 3.5 打造自己的页面基类PageBase 本章常见技术面试题 常见面试技巧之如何做好自我介绍 本章小结 第4章 Windows窗体编程你也行 4.1 创建简单的WinForm项目 4.2 创建MDI窗体应用 4.3 获取应用程序路径信息 4.4 回车跳转控件焦点 4.5 窗体间传递复杂数据 4.5.1 构造传递 4.5.2 公有字段传递 4.5.3 委托与事件传递 4.6 实现个性化窗体界面 4.7 无标题窗体拖动的两种方法 4.8 让程序只启动一次——单实例运行 4.9 实现系统托盘和热键呼出 4.10 进程与多线程的区别 4.11 创建多线程应用程序 4.12 WinForm开发常见问题 4.12.1 如何设置运行时窗体的起始位置 4.12.2 如何使一个窗体在屏幕的最顶端 4.12.3 实现窗体渐显效果 4.12.4 设置窗口背景为渐变色 4.12.5 模态窗口和非模态窗口 4.12.6 屏蔽窗口右上角的关闭操作 4.12.7 调用执行外部的程序 本章常见技术面试题 常见面试技巧之经典问题巧回答 本章小结 第5章 数据库开发 5.1 ADO.NET与抽水的故事 5.1.1 ADO.NET的定义 5.1.2 趣味理解ADO.NET对象模型 5.1.3 进水笼头——建立Connection 5.1.4 抽水机——Command 5.1.5 输水管——DataAdapter 5.1.6 输水管——DataReader 5.1.7 随用随关,释放资源 5.1.8 水库管理——DataSet 5.1.9 水池子——DataTable 5.2 数据库操作类的封装详解 5.2.1 执行命令方法的封装 5.2.2 查询数据方法的封装 5.2.3 数据统计方法的封装 5.2.4 实现SqlParameter方式 5.2.5 实现多数据库的访问 5.3 常用经典SQL语句 5.4 事务处理 5.4.1 SQL和存储过程级别的事务 5.4.2 ADO.NET级别的事务 5.4.3 ASP.NET页面级别的事务 5.4.4 企业级服务COM+事务 5.4.5 System.Transactions 事务处理 5.5 Oracle开发常见问题 5.5.1 Oracle和SQL Server的常用函数对比 5.5.2 Oracle和SQL Server的语句区别 5.5.3 ASP.NET连接Oracle失败的解决方法 本章常见技术面试题 常见面试技巧之经典问题巧回答 本章小结 第6章 关于XML 6.1 XML概述 6.1.1 XML和HTML有什么区别 6.1.2 XML的优势 6.2 文档结构与基本语法 6.3 XML操作 6.3.1 XmlDocument创建XML文档 6.3.2 XmlTextWriter创建XML文档 6.3.3 XmlDocument读取XML文档 6.3.4 XmlTextReader读取XML文档 6.3.5 在HTML中显示XML中的数据 6.3.6 JavaScript获取XML内容 6.3.7 项目案例:通用自定义XML配置类 6.4 ADO.NET与XML 6.4.1 读XML文档到DataSet 6.4.2 DataSet转为XML文档 6.5 项目案例1:实现网站的RSS应用 6.6 项目案例2:在线实现RSS阅读器 本章常见技术面试题 常见面试技巧之经典问题巧回答 本章小结 第7章 Web Service开发详解 7.1 Web Service基本概念 7.2 Web Service的应用场景 7.3 创建简单的Web Service项目应用 7.4 Web Service属性介绍 7.5 ASP.NET如何调用Web Service 7.6 JavaScript如何调用Web Service 7.6.1 通过webbehavior.htc调用Web Service 7.6.2 通过Microsoft.XMLDOM调用Web Service 7.6.3 XMLHTTP POST调用Web Service 7.6.4 SOAP调用Web Service 7.7 WinForm如何调用Web Service 7.7.1 .NET的WinForm调用Web Service 7.7.2 手动发送HTTP请求调用Web Service 7.8 实现异步调用Web Service 7.9 如何保证Web Service的安全 7.9.1 通过SoapHeader来增强Web Service的安全性 7.9.2 采用SSL实现加密传输 7.9.3 访问IP限制 7.10 Web Service开发中需要注意的 问题 本章常见技术面试题 常见面试技巧之经典问题巧回答 本章小结 第8章 用户体验的杀手锏——Ajax 8.1 Ajax概述 8.1.1 什么是Ajax 8.1.2 Ajax技术的核心 8.1.3 Ajax的工作原理 8.1.4 Ajax的优点 8.1.5 Ajax的问题 8.1.6 Ajax适用场景 8.1.7 Ajax不适用场景 8.1.8 XMLHttpRequest开发实例 8.2 微软VS.NET的Ajax开发 8.2.1 安装ASP.NET 2.0 Ajax Extensions 8.2.2 创建ASP.NET Ajax应用程序 8.2.3 ScriptManager控件使用技巧 8.2.4 UpdaetPanel控件使用技巧 8.2.5 AsyncPostBackTrigger实现外部控件引发局部刷新 8.2.6 Ajax错误处理 8.2.7 告诉用户你正在做什么——UpdateProgress控件 8.2.8 ASP.NET AjaxControToolKit简介 8.3 使用第三方组件 Ajax.dll 开发 8.4 使用第三方组件AjaxPro的开发 8.5 使用第三方组件MagicAjax的开发 8.6 Ajax开发原则 本章常见技术面试题 常见面试技巧之经典问题巧回答 本章小结 第9章 系统与文件操作 9.1 获取系统信息 9.1.1 用SystemInformation类获取系统信息 9.1.2 用Environment 类获取系统信息 9.1.3 通过WMI获取系统信息 9.1.4 用RegistryKey 类读取系统信息 9.1.5 用API函数获取系统信息 9.1.6 获取系统服务信息 9.2 文件操作 9.2.1 StreamWriter类实现写文件 9.2.2 通过File类创建文件 9.2.3 通过FileStream类创建文件 9.2.4 通过FileInfo类创建文件 9.2.5 追加文本 9.2.6 读取文本文件 9.2.7 读写二进制文件 9.2.8 文件复制、移动、删除 9.3 文件夹目录操作 9.4 读写INI文件 9.5 读写注册表 本章常见技术面试题 常见面试技巧之经典问题巧回答 本章小结 第10章 网络应用开发 10.1 Socket基本编程 10.1.1 Socket基本知识 10.1.2 Socket服务端开发步骤 10.1.3 Socket客户端开发步骤 10.2 异步Socket通信——实现MSN机器人 10.2.1 机器人服务端 10.2.2 客户端实现步骤 10.3 基于TCP协议的客户端和服务端 10.3.1 TcpListener 实现网络服务端 10.3.2 TcpClient实现网络客户端 本章常见技术面试题 常见面试技巧之经典问题巧回答 本章小结 第11章 Windows Service开发 11.1 什么是Windows服务 11.2 创建Windows服务 11.3 Windows服务开发常见问题 11.4 安装/卸载Windows服务 11.4.1 安装Windows服务 11.4.2 卸载Windows服务 11.4.3 Windows服务应用程序体系结构 11.5 调试Windows服务 11.5.1 日志调试法 11.5.2 附加进程断点调试法 本章常见技术面试题 职场智慧之初入江湖 本章小结 第12章 新技术初探 12.1 WPF 421 12.1.1 WPF简介 421 12.1.2 WPF何以令人佩服 422 12.1.3 XAML概述 422 12.1.4 WPF开发环境配置 423 12.1.5 项目示例:开发一个简单的WPF应用程序 424 12.2 WCF 427 12.2.1 SOA是什么 427 12.2.2 WCF是什么 428 12.2.3 WCF的优势是什么 428 12.2.4 WCF开发环境 431 12.2.5 项目示例:订票服务WCF开发步骤 431 12.3 LINQ 440 12.3.1 LINQ的架构 441 12.3.2 传统的查询 441 12.3.3 LINQ查询实例 444 12.3.4 LINQ查询语法 448 本章常见技术面试题 449 职场智慧之学习方法 449 本章小结 450 第二篇 系统架构设计思想 第13章 面向对象思想 13.1 为什么要面向对象 454 13.2 什么是面向对象 456 13.3 面向对象的特点 458 13.3.1 封装 459 13.3.2 继承 459 13.3.3 多态 460 13.4 面向对象设计和开发实例 466 13.4.1 传统过程化设计实现播放器功能 466 13.4.2 基于面向对象设计实现播放器功能 467 13.4.3 面向对象封装、继承、多态的应用 468 13.4.4 设计模式、条件外置及反射技术的应用 471 13.5 面向对象分析(OOA)的方法 475 13.6 面向对象设计的原则 478 13.6.1 优先使用(对象)组合,而非(类)继承 478 13.6.2 针对接口编程,而非(接口的)实现 481 13.6.3 开放-封闭法则(OCP) 482 13.6.4 Liskov替换法则(LSP) 485 13.6.5 单一职责原则(SRP) 486 13.6.6 依赖倒置原则(DIP) 486 13.6.7 接口分离原则(ISP) 489 13.6.8 面向对象设计时需要注意的问题 490 本章常见技术面试题 491 本章小结 491 第14章 三层架构项目开发 14.1 什么是三层架构 494 14.1.1 常用的三层架构设计 494 14.1.2 趣味理解:三层架构与养猪 496 14.2 为什么要用三层架构 497 14.3 三层架构项目开发示例 500 14.3.1 数据库设计 500 14.3.2 创建整体解决方案 501 14.3.3 业务实体Model的实现 502 14.3.4 数据访问层的实现 504 14.3.5 业务逻辑层的实现 509 14.3.6 表示层的实现 510 14.4 实现基于工厂模式的三层架构 512 14.4.1 扩展新增数据访问层 512 14.4.2 IDAL抽象接口的实现 513 14.4.3 创建DAL对象的封装 517 14.4.4 实现抽象工厂模式 519 14.4.5 工厂模式的三层架构图 521 本章常见技术面试题 522 职场智慧之程序员的职业规划 523 本章小结 524 第15章 大型网站的性能优化与安全 15.1 高效C#编码优化 526 15.2 页面(HTML)优化的方法 534 15.3 ASP.NET开发性能优化 540 15.3.1 如没必要,尽量使用静态HTML页面 540 15.3.2 避免不必要的回送操作 541 15.3.3 尽量在客户端进行用户输入验证 541 15.3.4 关闭不必要的Session状态 542 15.3.5 优先使用HTML控件,而非服务器控件 542 15.3.6 不必要时关闭ViewState 542 15.3.7 禁用调试模式 543 15.4 系统缓存管理 543 15.4.1 缓存的分类 544 15.4.2 传统缓存方式 545 15.4.3 页面输出缓存 545 15.4.4 页面输出缓存API 548 15.4.5 页面局部缓存 549 15.4.6 应用程序数据缓存 554 15.4.7 文件缓存依赖 555 15.4.8 数据库缓存依赖 557 15.4.9 Memcached——分布式缓存系统 560 15.4.10 Cacheman——.NET架构下的分布式缓存项目 561 15.5 数据库访问性能优化 562 15.5.1 选择合适的.NET数据供应器 563 15.5.2 及时地关闭数据库连接 563 15.5.3 跟踪监视SQL Server当前链接池状态 564 15.5.4 善用数据库的存储过程 567 15.5.5 SqlDataRead和Dataset的选择 567 15.5.6 ExecuteNonQuery和ExecuteScalar的选择 568 15.5.7 数据的绑定DataBinder 568 15.5.8 使用DataReader的注意事项 568 15.5.9 Command对象的使用 569 15.5.10 反复地执行SQL语句用 Prepare() 569 15.5.11 分页的数据访问 570 15.5.12 SQL命令的优化 570 15.5.13 tempdb的使用技巧 572 15.5.14 使用视图代替跨库操作 572 15.5.15 尽量避免大事务操作 572 15.5.16 尽量避免使用游标 573 15.5.17 为你的表建立适当的索引 573 15.6 网站安全防护 573 15.6.1 什么是SQL注入式攻击 573 15.6.2 如何防范SQL注入式攻击 574 15.6.3 实现页面验证码 575 15.6.4 实现文件防盗链 579 15.6.5 采用HTTPS进行访问 584 15.7 IIS优化 584 15.7.1 如何监测IIS服务器并发数 584 15.7.2 采用Gzip压缩页面优化 585 15.7.3 网站应用程序池配置 588 15.8 网站架构优化策略 593 本章常见技术面试题 596 职场智慧之独善其身 596 本章小结 599 第16章 系统设计的原则和技巧 16.1 系统设计的一些原则 602 16.1.1 最适合的才是最好的 602 16.1.2 以不变应万变 603 16.1.3 可扩展性 603 16.1.4 可复用性 604 16.2 系统设计的常用方法 604 16.3 敏捷软件开发12条原则 608 16.4 系统架构师成长之路 611 本章常见技术面试题 615 职场智慧之职场政治 615 本章小结 616 第三篇 项目实战解析 第17章 权限角色管理项目解析 17.1 权限角色管理概述 620 17.2 项目概述 623 17.3 数据库设计 624 17.3.1 数据库实体关系模型 624 17.3.2 表结构设计 625 17.4 数据访问层 627 17.4.1 类设计 627 17.4.2 代码实现 629 17.5 业务逻辑层 629 17.5.1 类设计 630 17.5.2 扩展.NET Framework用户处理机制 632 17.6 接口调用与Web管理实现 638 17.6.1 Web.config配置 638 17.6.2 用户身份和权限验证 638 17.6.3 用户验证接口方式:权限验证用户控件 640 17.6.4 用户验证接口方式:页面基类 642 17.6.5 用户和角色权限的后台管理 644 职场智慧之如何提升自己在公司的价值 652 本章小结 653 第18章 单点登录系统的设计与实现 18.1 项目概述 656 18.1.1 名词定义 656 18.1.2 项目需求描述 656 18.2 业务流程设计 657 18.2.1 用户认证流程 657 18.2.2 安全验证流程 658 18.3 功能与接口设计 659 18.3.1 接*互设计 659 18.3.2 应用系统接口 660 18.3.3 认证服务器功能和接口 660 18.4 数据库设计 660 18.4.1 数据库实体关系模型 661 18.4.2 表结构设计 661 18.5 实现认证服务器 662 18.5.1 SSO解决方案 663 18.5.2 系统管理后台 664 18.5.3 用户通行证管理中心 665 18.5.4 认证服务器接口开发 673 18.6 应用系统接入接口开发 675 18.6.1 用户身份认证 675 18.6.2 接收状态同步 676 18.6.3 用户注销 678 18.6.4 更新认证服务器状态 679 18.7 接口封装及调用 679 职场智慧之晋升之道 682 本章小结 684 第19章 常用.NET开发工具介绍 19.1 源码版本管理:Visual SourceSafe 2005 686 19.1.1 安装和配置VSS 2005服务端 686 19.1.2 安装和配置VSS客户端 691 19.1.3 将项目加入VSS版本控制 692 19.1.4 客户端连接VSS 服务器获取源代码 694 19.1.5 设置VSS支持通过Internet访问 696 19.1.6 版本控制的几个概念 701 19.1.7 VSS项目权限管理 703 19.1.8 VSS数据备份 705 19.1.9 VSS 2005的使用规范 707 19.2 单元测试工具:NUnit 708 19.2.1 NUnit简介 708 19.2.2 手把手教你在.NET中应用NUnit 708 19.3 日志工具——Log4net 714 19.3.1 Log4net简介 714 19.3.2 使用步骤 717 19.3.3 单独配置文件的使用 719 19.4 代码规范检查工具:Microsoft Source Analysis for C# 721 19.5 生成文档注释工具:GhostDoc 723 19.6 反编译工具:Reflector for .NET 732 19.7 动软.NET代码生成器 733 19.8 帮助文档生成工具:Sandcastle 737 19.8.1 Sandcastle介绍 737 19.8.2 生成方式 738 19.8.3 具体生成步骤 740 本章小结 748 附录A 软件编码规范 A.1 概述 750 A.1.1 规范基本原则 750 A.1.2 术语定义 750 A.1.3 文件命名组织 750 A.2 代码外观 751 A.2.1 列宽 751 A.2.2 换行 751 A.2.3 缩进 751 A.2.4 空行 751 A.2.5 空格 752 A.2.6 括号——() 753 A.2.7 花括号——{} 753 A.3 程序注释 754 A.3.1 注释概述 754 A.3.2 文档型注释 755 A.3.3 类注释 755 A.3.4 单行注释 755 A.3.5 注释标签 756 A.4 声明 758 A.4.1 每行声明数 758 A.4.2 初始化 758 A.4.3 位置 758 A.4.4 类和接口的声明 759 A.4.5 字段的声明 759 A.5 命名规范 759 A.5.1 命名概述 759 A.5.2 大写规则 760 A.5.3 缩写 761 A.5.4 命名空间 761 A.5.5 类 762 A.5.6 接口 762 A.5.7 属性(Attribute) 763 A.5.8 枚举(Enum) 763 A.5.9 参数 763 A.5.10 方法 764 A.5.11 属性(property) 764 A.5.12 事件 765 A.5.13 常量(const) 766 A.5.14 字段 767 A.5.15 静态字段 768 A.5.16 集合 768 A.5.17 措词 768 A.6 语句 769 A.6.1 每行一个语句 769 A.6.2 复合语句 769 A.6.3 return语句 769 A.6.4 if、if-else、if else-if语句 770 A.6.5 for、foreach 语句 770 A.6.6 while语句 771 A.6.7 do-while语句 771 A.6.8 switch-case语句 771 A.6.9 try-catch语句 772 A.6.10 using块语句 772 A.6.11 goto语句 772 A.7 其他 773 A.7.1 表达式 773 A.7.2 类型转换 773 A.8 匈牙利命名法 773 A.9 控件命名规则 774 A.9.1 一般命名方法 774 A.9.2 主要控件名简写对照表 774
Platform: | Size: 7456954 | Author: jackws@tom.comjackws | Hits:

[SourceCode驱动开发

Description: 驱动开发环境搭建vs6.0+ddk 2600+windows xp+Driver Studio 3.2 2010-07-07 09:35 驱动开发环境之Windows XP DDK2600,VC++ 6.0, Driver Studio 3.2 神秘的驱动开发,神秘的WINDOWS内核,是什么把这些搞得这么神秘呢? 搭Windows驱动开发平台. 要安装的东西都有这些:在Windows XP的基础上,先装上VC++6.0,再装DDK2600(也就是DDK的XP版),最后装 Driver Studio 3.2。 1.首先装VC++ 6.0, 要装VC++6.0那是因为这个IDE式的环境你已经很熟悉,编译和连接的时候不要用各种命令行的命令,只要鼠标点点,就可以(当然啦,一些参数还是要填的)。具体怎么装我就不介绍了。 2.安装XP系统的DDK, DDK全称是叫Driver Development Kit,它提供4种驱动程序的编译环境,我们这种初学者一般是选Win XP Checked Build Enviorment。 ftp://202.113.29.4/ISO/M$/WinDDK/winxp_ddk.rar 这个是下载地址,我写这篇文章的时候这个链接还是通的,不知你看的时候通不通了,如果不通你可以联系我,我可以发给你。 安装的时候就没什么特别要注意的地方,唯一要记得的是记住要完整安装,把那些什么Samples全装上,对于我们这些初学者会很有用的。 3.安装Driver Studio, DriverStudio 是一套用来简化微软Windows 平台下设备驱动程序的开发,调试和测试的工具包。 对于学过Windows 编程的人我可以打个形象的比喻: DriverStudio中的DriverWorks,本质是“DDK类库”,使用C++类库封装的方法简化了NT Driver或者WDM驱动程序的开发,使用DriverWorks代替DDK开发,类似于使用MFC代替SDK开发Windows应用程序。 http://download2.77169.com/soft/Source/debug/200801/20071229SoftICExlDS3.2.1.zip 这个是下载地址。这个需要序列号和注册文件: http://www.4x4y.com/10257_CrackDown_Compuware.DriverStudio.v3.2.iNTERNAL.html 这个是序列号生成器和注册文件打包下载的地址。 2.安装和配置   软件的安装顺序:Windows XP --> VC6.0 --> WinXP_DDK -> DriverStudio3.2,如果顺序装错了,那么把DriverStudio3.2删除再重装就OK了。从网上找到库文件ntstrsafe.lib+csq.lib.rar,把解压出来的两个库文件拷贝到WinXP_DDK的安装目录下的库目录中(我的是C:WINDDK2600libwxpi386)。启动vc6,然后进行简单的配置:菜单DriverStudio菜单下的DDK Build Settings,在弹出的对话框中选择已经安装的DDK目录(比如我的是C:WINDDK2600),在Windows DDK compiler Options中选择"Enable only for Driver Studio"。 VC6.0-->Tools-->Options,点击"Directories"选项卡: 1)"“Show directories for:"下选择Include files,然后检查有没有包含ddk的头文件目录(我的是C:WINDDK2600incwxp),如果没有则加上; 2)"“Show directories for:"下选择Library files,然后检查有没有包含ddk的库文件目录(我的是C:WINDDK2600libwxpi386),如果没有则加上;    注意:安装DDK时一定要把例子安装(建议你安装全部的模块),否则编译vdwlibs.dsw时会报如下的错: vdw_wdm.lib - 1 error(s), 0 warning(s) 然后打开引起错误的文件,发现: #error The file is from the DDK at srcwdmhidinc. Install DDK HID samples to install hidport.h. Or update INCLUDE path for hidport.h in the DDK! 这表明安装WinXP_DDK的时候没有安装实例。 3.编译适合本机使用的库文件   (1).启动VC6.0。开始-->所有程序-->Compuware DriveStudio-->Develop-->DDK Building Settings,确保“DDK Root Directory”下方的内容是ddk的安装目录(比如我的是C:WINDDK2600),然后点击下方的"Luanch Program"正式启动vc6的开发环境。   (2).进入菜单File-->Open Workspace(打开位于DriverStudio3.2安装目录的DriverWorksSourcevdwlibs.dsw)-->进入菜单Build-->batch Build,点击“Select x86"按钮只选中全部的32位库(我的电脑是32位的。注意:对于32位的电脑一定不要选中64位的库,否则后面编译会出错)-->点击按钮"Rebuild AlL”开始编译。   注:如果出现无法打开文件这类的错误,一般都是DDK Build Settings指向不对,或安装顺序有误,或者你在32位机器上选中了64位库。 4.编译一个DriverStudio自带的实例   (1)"启动vc6,点击菜单File-->Open Workspace,打开项目文件C:Program FilesCompuwareDriverStudioDriverWorksExampleswdmhellowdmHelloWdm.dsw,然后编译,如果没有报错,那说明安装和配置成功。但请你别高兴的太早,开发环境安装配置成功只是万里长城的第一步,剩下的你就是要理解驱动模块的架构和具体的代码编写了。 5.使用Driver wizard生成驱动程序框架   (1).在VC6.0的界面下,点击菜单DriverStudio-->Driver wizard,此后系统会一步一步引导你完成设置,最后自动生产的驱动程序框架。   (2).设置好后将生成驱动文件,然后用VC6.0进行编译:进行Build菜单,Rebuild AlL将生成.sys文件,说明驱动模块编译成功!   注:如果出现无法打开ntstrsafe.lib的错误,说明系统缺少这个库文件,参照上面的方法补上这个库文件,或者进入菜单Project-->Settings,鼠标点击左边方框里的最上面一行,然后右边"Project Option"下的ntstrsafe.lib并删除它。 本文是转来的,经过我的验证可以搭建成功。有些软件下载可能需要到其他地方下载。希望各位开发的兄弟姐妹Enjoy yourself.
Platform: | Size: 64512 | Author: cdliqu@163.com | Hits:

[SourceCodesrccount

Description: 在 Windows 的资源管理器窗口中,我们见过 WinZIP,WinRAR 等软件能在文件或文件夹的默认快捷菜单中添加几个菜单项,它可以使用户无须进入软件内部而直接在视窗中进行压缩/解压操作,十分方便用户操作,这无疑是一个较好的应用模型,它就是我们所说的Shell扩展技术。此源代码将以一个普通的源代码统计程序为例来说明怎样实现Shell扩展技术。-In the Windows Explorer window, we have seen WinZIP, WinRAR and other software in the file or folder to add the default shortcut menu几个菜individual, it can allow users do not need to enter the software directly in the internal window to compress/decompression operation, a very user-friendly operation, this is a good application model, which is what we call the Shell Extension. This source code will be an ordinary statistical procedures source code as an example to illustrate how to achieve the expansion of Shell Technology.
Platform: | Size: 92160 | Author: 温馨 | Hits:

[mpeg mp3shitclass3

Description: 本类包是使用于ShitMP3 v1.08的内部核心类,提供如下功能:1.提取指定MP3文件ID3v1信息2.提取指定MP3文件ID3v2信息3.存储ID3v1信息给某个MP3文件4.存储ID3v2信息给某个MP3文件5.MP3文件名自动重命名6.重命名命名格式全自动生成7.大批量修改某个目录下的MP3文件名★8.最新版的ShitClass提供了对WMA文件的自定义修改功能类包包括类:CMP3.h 用户真正使用的MP3类的接口文件,提供了上述的7种功能的各种方便函数CMP3.cpp MP3类文件MP3类需要的支持类:CWma.h WMA文件信息提取与写入类CWma.cppSManageFile.h 文件管理类,由张麟开发,有大量的文件的剪切,粘贴,复制,删除等各种各样的函数。SManageFile.cpp ID3.h 网友吴曜宏开发的MP3文件ID3v2信息提取类ID3.cpp类包支持:由于类包是在VC++环境中开发的,需要MFC类包的支持。★由于新版本的类包需要WMSDK的支持所以,在你编辑使用软件之前,请确认您的机器上有Windows Media Player SDK的支持。如果没有,您可以到:http://www.monocers.com/jon/shitmp3/WMFormatSDK.rar下载获得。使用CMP3类函数的时候,需要SManageFile类和CID3v2类的支持-in this package is used in the internal ShitMP3 v1.08 core category for the following functions : 1. Designated extract information ID3v1 MP3 files 2. MP3 files from designated three ID3v2 information. ID3v1 information stored MP3 files to a certain four. Information storage ID3v2 MP3 files to a five . MP3 files were automatically re-naming six. rename naming format Automatic Generation 7. change certain high-volume directory of MP3 files from People 8. the latest edition of the ShitClass provided by the WMA files from the revised definition of functional categories including packet categories : CMP3.h users actually use the MP3 category the interface file to provide the above functions of the seven convenient function CMP3.cpp MP3 MP3 category types of documents needed support categories
Platform: | Size: 124928 | Author: 小平 | Hits:

[SCMWINC51编程

Description: 本书以Keil 公司最新版本的C51 编译器为核心,阐述了在Windows 环境下采用单片 机高级语言C51 进行应用系统程序设计的基本原理和方法,详细介绍了Keil C51 的 Windows 集成开发环境Vision 51 和软件仿真器dScope51 的强大功能和具体使用方法。在 Windows 集成开发环境pVision 51 中,可以完成从源程序编写、编译、连接定位到目标文件 的仿真调试等的全部工作。dScope 51 是一种基于Windows 的多窗口软件仿真器,它可以在 完全没有8051 单片机硬件的情况下模拟调试各种应用程序,即使对单片机内部特殊集成功 能的编程,也可以找到对应的模拟窗口。 本书对最新版本C51 编译器新增加的控制命令作了全面介绍;给出了最新C51 运行库 函数及其应用范例;对Keil C51 的各种应用工具,如BL51 连接定位器、A51 宏汇编器、 LIB51 库管理程序以及OH51 符号转换程序等都作了详细介绍;还介绍了单片机实时多任务 操作系统RTX51 及其子集RTX51 TINY 的具体功能与应用方法。 本书强调先进性和实用性。全书各章列举了大量程序实例,并附赠一张配套光盘。因此 本书既适合广大从事单片机应用系统开发研制的工程技术人员的阅读,也可以作为高等工科 院校相应专业大学生或研究生的教学用书。-Keil book to the latest version of the C51 compiler at the core, described in the Windows environment using high-level language C51 microcontroller applications procedures for the basic design principles and methods introduced in detail Keil C51 integrated development environment for Windows 51 and Vision software simulator dScope51 the power and the specific use. Windows integrated development environment pVision 51, from source to be completed to prepare, compile, link positioning of the target file Simulation of the entire work. DScope 51 is a Windows-based multi-windows software emulation, it can no 8051 under the hardware simulation debugging various applications, even for special internal microcontroller integrated functional programming, can find the corresponding emulation window.
Platform: | Size: 32982016 | Author: 高山流水 | Hits:

[Windows DevelopVMMAPPrj

Description: 你可以在windows上查看进程内部的内存分布情况-you can see windows on the process of internal memory distribution of
Platform: | Size: 6144 | Author: 王文才 | Hits:

[GIS programQuartTreeNode

Description: qt实现四叉树搜索,书是讲解Windows 操作系统内部机制的专著,作者从基本概念入手,全面系统地介绍了Windows的各种基本构件,如进程、线程、DLL和内存管理等,并列举了大量应用程序,精辟地分析了构件的使用方法,为掌握Windows 编程技巧提供了一条有效的捷径。对于不同水平的Windows 编程人员来说,本书都具有极好的参考价值。-qt achieve quadtree search, book on the Windows operating system is an internal mechanism dedicated to the authors start from the basic concept, a comprehensive and systematic introduction of the Windows basic elements, such as processes, threads, memory management and DLL, and listed a large number of applications, and incisive analysis of the constitutive pieces of the use, in order to keep Windows programming skills provided an effective shortcut. For different levels of Windows programmers, this book is of great reference value.
Platform: | Size: 3072 | Author: zww | Hits:

[Process-Threadwin2k_samples_code

Description: 本源码系《windows内部解密》一书自带光盘,包括了其中的所有源码。-Department "declassified internal windows," a book onboard optical discs, including one of the all-source.
Platform: | Size: 1141760 | Author: helin | Hits:

[Streaming Mpeg4FilterASFWriter

Description: 这是一个DirectShow Filter,用于将输入的音视频Sample写成Windows Media文件(内部 使用Windows Media编码器)。 -This is a DirectShow Filter, for the importation of the audio and video into Windows Media Sample (internal use Wind ows Media Encoder).
Platform: | Size: 28672 | Author: 古问天 | Hits:

[AI-NN-PR02092028

Description: 1. 背景简介 日常生活中经常有自动售货机,这种机器不需要人来随时控制,只是按照其内部的一些默认程序来 工作,是一种比较简单的人工智能程序,本程序为对这种机器的一种模拟。 2.项目目标 (1)向顾客显示所售的各种商品; (2)让顾客进行选择; (3)向顾客显示所选商品的价格; (4)收款; (5)发送顾客所选择的商品; (6)向顾客找零。 3.运行环境 PⅢ级别计算机(CPU主频300Mhz以上、128MB内存) WINDOWS操作系统 MICROSOFT VISUAL C++ 6.0 -1. BACKGROUND About the daily lives of regular vending machine, this machine does not need people to come at any time control, only in accordance with its internal procedures to the work of some of the default, is a relatively simple artificial intelligence program, the procedures for such A simulation of the machine. 2. The project objectives (1) to show customers a variety of merchandise sold (2) to allow customers to choose (3) to show customers the prices of selected commodities (4) receivables (5) to send customers to choose goods (6) give change to customers. 3. Runtime Environment P Ⅲ level computer (CPU above 300Mhz GHz, 128MB memory) WINDOWS OS MICROSOFT VISUAL C++ 6.0
Platform: | Size: 50176 | Author: 郑远飞 | Hits:

[Windows Developwindowsprogramrun2

Description: 介绍Windows程序内部运行机制的文章-internal procedures introduced Windows operating mechanism of the article
Platform: | Size: 3072 | Author: david | Hits:

[Multimedia DeveloplcyPLVC++6.0

Description: 声卡数字频率计 PC中的声卡不仅能输出和录制各种音频信号,利用其内部的A/D(模拟/数字)转换器,通过编写程序还可以用来对外部的周期性的模拟信号进行采样,并计算出该信号的频率值。文中所述的作者设计的程序就是这样的一种程序,能够满足一般电子爱好者把PC作为数字频率计使用的要求。该程序是标准的Windows界面,界面友好,以黑色背景红色大号字体显示频率值,具有醒目、程序简洁和测量精度高的特点,-sound card number or frequency of PC sound card can not only output and recording audio signals, use its internal A/D (analog/digital) converter, through the preparation process could also be used to the cyclical external analog signal is sampled, and the calculated value of the frequency signal. Wen described the author of the design process is one of the procedures, to meet the general electronic enthusiasts use the PC as a digital frequency meter use requirements. The procedure is the standard Windows interface, the interface is friendly to the black background of red font tuba frequency, with catchy and simple procedures and high measurement accuracy characteristics,
Platform: | Size: 39936 | Author: gemini | Hits:

[assembly languageservice-by-ASM

Description: 用汇编写系统服务程序。Windows NT的服务都是通过一般的可执行程序实现的,不同的是,它遵循内部的一个特定协议来设计,以便它们能够与服务控制管理器(SCM,Service Control Manager)进行正确的交互。-writing system with a compilation service procedures. Windows NT services are enforceable through the normal procedures to achieve, and the difference is that It followed an internal agreement to a specific design so that they can with the Service Control Manager (SCM. Service Control Manager) for the correct interaction.
Platform: | Size: 13312 | Author: jiankang | Hits:

[Communicationmacaddress

Description: 此代码通过 NetApi32.dll 中提供的API来实现 Windows 系统中网卡MAC地址的获取。首先发送 NCBENUM 命名枚举机器上所有网卡(因为一台PC上有可能装多张网卡),由此可以获得网卡的数目和每张网卡的内部编号,接着针对每个网卡编号发送 NCBASTAT 命令获取其 MAC 地址。注意使用本例所提供的方法获取MAC地址,网卡事先必须与 MS NetBEIU 协议进行绑定。-NetApi32.dll this code provided by the Windows API to achieve system China and MAC address access. Send NCBENUM first named Enumerate all card machine (a PC because there may be multiple network cards installed), This card available and the number of each card's internal numbers, Then, for each card sent NCBASTAT Order No. access to its MAC address. Attention to the use of the cases provided by the acquisition of MAC address, NIC must be preceded with MS NetBEIU agreement binding.
Platform: | Size: 12288 | Author: 肖和平 | Hits:

[Delphi VCLObjectInspector

Description: bject Inspector is a component suite that contains inspectors allowing you to change anything in your application at runtime. Object Inspector suite includes: TPropertyInterface component for easy access to any property or event of any component at runtime TComponentInspector customizable full-functional runtime object inspector control TComponentComboBox control for easy selecting component TCommonInspector abstract inspector control for inspect anything in your application TDBInspector ready-to-use database inspector control TIniInspector ready-to-use ini-file inspector control TApplicationInspector ready-to-use inspector control for changing Application properties at runtime TSystemColorsInspector ready-to-use inspector control for changing Windows colors Examples small and clean projects illustrating features of inspectors and TPropertyInterface components Source codes full source code of all components and useful internal classes -bject Inspector is a component suite that c ontains inspectors allowing you to change anyt hing in your application at runtime. Object Ins pector suite includes : TPropertyInterface component for easy access to any property or event of any component at runt ime TComponentInspector customizable full-f unctional runtime object inspector control TC omponentComboBox control for easy selecting c omponent TCommonInspector abstract inspecto r control for inspect anything in your applicat ion TDBInspector ready-to-use database inspe Hector control TIniInspector ready-to-use ini- file inspector control TApplicationInspecto r ready-to-use inspector control for changing Application properties at runtime TSystemCol orsInspector ready-to-use control inspector Windows for changing colors Examples small
Platform: | Size: 429056 | Author: sad | Hits:

[Graph DrawingCGFramework

Description: 用visual c++做的图形填充程序。能实现任意多边形内部填充以及类似windows附件画笔中对所画封闭图形的填充。-c done with visual graphics filling procedures. Achieve internal arbitrary polygon filling, and similar windows of the annex brush painting filled the closed graphics.
Platform: | Size: 67584 | Author: 张晔 | Hits:

[Special EffectsA0357

Description: 一套完整的图像处理与识别的源码(全中文注释) 这是我们内部开发与使用的一套图像处理代码,里面包括了大部分图像处理与识别处理的的函数:像模板变换,图像的平滑、锐化、边缘识别、图像中值滤波、图像模糊、图像逆滤波、图像模糊加噪、图像维纳滤波、线性变换、灰度拉伸、直方图均衡、图像腐蚀、图像膨胀、图像开运算、GIF确码编码、缩放、旋转、快速付立叶变换、离散余弦变换等等,等等,太多了。可以用于windows软件或嵌入式软件编程。内部用的,全中文注释,为了下载我才拿出来的。你们自己看着办吧。-a complete set of image processing and recognition of the source code (all Chinese Note) This is our internal development and use of a image processing code, includes the most image processing and recognition processing function : as template transform, Image smoothing, sharpening, edge recognition, image filtering and fuzzy images, image inverse filtering, fuzzy image noise increases, Wiener filter images, linear transformation, gray tensile, histogram equalization, images corrosion, expansive images, image open operation, GIF correct coding, zooming, rotation, fast Fourier transform, discrete cosine transform, and so on and so forth, that is too many. Can be used for windows software or embedded software programming. Internal use, and the whole Chinese translations, in order to download
Platform: | Size: 308224 | Author: tl | Hits:
« 1 2 3 4 5 67 8 9 10 11 12 13 »

CodeBus www.codebus.net